%%%%(c) COPYRIGHT NOTICE
%%%%(c)
%%%%(c)  This file is a portion of the source for the textbook
%%%%(c)
%%%%(c)    Numerical Methods
%%%%(c)    Copyright (C) 2010 Minh Van Nguyen
%%%%(c)
%%%%(c)  See the file COPYING for copying conditions
%%%%(c)
%%%%(c)

\subfigure[$f(x) = \sin(\pi x / 100)$]{
\begin{tikzpicture}[scale=0.85]
\begin{axis}[
    xlabel=$x$,xmin=0,xmax=100,%
    ylabel=$f(x)$,ymin=0,ymax=1
  ]
%% invoke external gnuplot as calculator
\addplot[smooth,color=blue] gnuplot[domain=0:100]{sin((pi*x)/100)};
\end{axis}
\end{tikzpicture}
}
%%
%%
\subfigure[$f(x) = \sin(x)$]{
\begin{tikzpicture}[scale=0.85]
\begin{axis}[
    xlabel=$x$,xmin=0,xmax=3.141592,%
    ylabel=$f(x)$,ymin=0,ymax=1
  ]
%% invoke external gnuplot as calculator
\addplot[smooth,color=blue] gnuplot[domain=0:3.141592]{sin(x)};
\end{axis}
\end{tikzpicture}
}
%%
%%
\subfigure[$f(x) = \sqrt{\sin(\pi x / 100)}$]{
\begin{tikzpicture}[scale=0.85]
\begin{axis}[
    xlabel=$x$,xmin=0,xmax=100,%
    ylabel=$f(x)$,ymin=0,ymax=1
  ]
%% invoke external gnuplot as calculator
\addplot[smooth,color=blue] gnuplot[domain=0:100]{sqrt(sin((pi*x)/100))};
\end{axis}
\end{tikzpicture}
}
%%
%%
\subfigure[$f(x) = \sqrt{\sin(x)}$]{
\begin{tikzpicture}[scale=0.85]
\begin{axis}[
    xlabel=$x$,xmin=0,xmax=1,%
    ylabel=$f(x)$,ymin=0,ymax=1
  ]
%% invoke external gnuplot as calculator
\addplot[smooth,color=blue] gnuplot[domain=0:1]{sqrt(sin(x))};
\end{axis}
\end{tikzpicture}
}
%% %\subfigure[$Y = sin(X)$]{
%% \subfloat[$Y = sin(X)$]{
%% 		\label{fig:subfiga}
%% 		\includegraphics[width=.31\columnwidth,angle=270]{justy.ps}}
%% \hspace{.3in}
%% %\subfigure[$Y$ versus $X$]{
%% \subfloat[$Y$ versus $X$]{
%% 		\label{fig:subfigb}
%% 		\includegraphics[width=.31\columnwidth,angle=270]{xandy.ps}}
%% \vspace{.3in}
%% %\subfigure[$W = \sqrt{Y}$]{
%% \subfloat[$W = \sqrt{Y}$]{
%% 		\label{fig:subfigc}
%% 		\includegraphics[width=.31\columnwidth,angle=270]{justw.ps}}
%% \hspace{.3in}
%% %\subfigure[$W$ versus $Y$]{
%% \subfloat[$W$ versus $Y$]{
%% 		\label{fig:subfigd}
%% 		\includegraphics[width=.31\columnwidth,angle=270]{yandw.ps}}
